import fetch from '@/utils/fetch'

//车辆信息查询接口
export function gettableList(data) {
  data.size= '10'
  return fetch({
    url: '/adjust/pageList',
    method: 'post',
    data
  })
}
//调整记录列表
export function getRecord(id,data) {
  return fetch({
    url: '/adjust/record/'+id,
    method: 'post',
    data
  })
}

//获取弹框车辆数据
export function getLayerInfo(id) {
  return fetch({
    url: '/adjust/info/'+ id,
    method: 'get',
  })
}

//获取配送员信息
export function getDispatchList(data) {
  return fetch({
    url: '/TransportInfo/getTransportInfoList',
    method: 'post',
    data
  })
}

//弹框提交
export function submitInfo(id,data) {
  return fetch({
    url: '/adjust/'+ id,
    method: 'post',
    data
  })
}
